]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Change "const" to "var"
authorJoe Rabinoff <jrabinoff6@math.gatech.edu>
Mon, 18 Jun 2018 14:38:46 +0000 (10:38 -0400)
committerJoe Rabinoff <jrabinoff6@math.gatech.edu>
Mon, 18 Jun 2018 15:19:13 +0000 (11:19 -0400)
These variables are in fact used from other modules, so gjs complains about them
being const.

js/ui/windowManager.js
js/ui/workspaceThumbnail.js

index d450f35f90eec1f75bea9f66dcaa83ef75c5b269..17576a07ea2421142097e3e1a4703eeedf18932a 100644 (file)
@@ -24,7 +24,7 @@ const EdgeDragAction = imports.ui.edgeDragAction;
 const CloseDialog = imports.ui.closeDialog;
 const SwitchMonitor = imports.ui.switchMonitor;
 
-const SHELL_KEYBINDINGS_SCHEMA = 'org.gnome.shell.keybindings';
+var SHELL_KEYBINDINGS_SCHEMA = 'org.gnome.shell.keybindings';
 var MINIMIZE_WINDOW_ANIMATION_TIME = 0.2;
 var SHOW_WINDOW_ANIMATION_TIME = 0.15;
 var DIALOG_SHOW_WINDOW_ANIMATION_TIME = 0.1;
index 1ecdd92ccb3027bb519a07d027fc8eadc79be858..4021e997c1335910dc013f1c3d03e17907b4bac4 100644 (file)
@@ -31,7 +31,7 @@ var WORKSPACE_CUT_SIZE = 10;
 
 var WORKSPACE_KEEP_ALIVE_TIME = 100;
 
-const OVERRIDE_SCHEMA = 'org.gnome.shell.overrides';
+var OVERRIDE_SCHEMA = 'org.gnome.shell.overrides';
 
 /* A layout manager that requests size only for primary_actor, but then allocates
    all using a fixed layout */
@@ -241,7 +241,7 @@ var WindowClone = new Lang.Class({
 Signals.addSignalMethods(WindowClone.prototype);
 
 
-const ThumbnailState = {
+var ThumbnailState = {
     NEW   :         0,
     ANIMATING_IN :  1,
     NORMAL:         2,